import React from 'react'
import OrderIndex from '@/components/order/index'
import OrderInfo from '@/components/order/info'
import OrderRate from '@/components/order/rate'


const list = [
  {
    path: 'index',
    component: OrderIndex,
  },
  {
    path: 'info',
    component: OrderInfo,
  },
  {
    path: 'rate',
    component: OrderRate,
  }
]


const Layout = () => <React.Router.Outlet />


const RouterList = [
  {
    path: '/order', 
    component: Layout, 
    children: list, 
  }
]

export default RouterList